package com.cy.member;

import java.awt.Point;

import com.cy.member.parent.ChineseChessman;

public class Step {

	//要走的棋子
	private ChineseChessman chineseChessman = null;
	//起点坐标
	private Point start = null;
	//终点坐标
	private Point end = null;
	//被删掉的棋子
	private ChineseChessman killed = null;
	
	/**
	 * 构造函数
	 * @param chineseChessman 要走的棋子
	 * @param start 起点坐标
	 * @param end 终点坐标
	 */
	public Step(ChineseChessman chineseChessman, Point start, Point end) {
		super();
		this.chineseChessman = chineseChessman;
		this.start = start;
		this.end = end;
	}

	public ChineseChessman getChineseChessman() {
		return chineseChessman;
	}

	public void setChineseChessman(ChineseChessman chineseChessman) {
		this.chineseChessman = chineseChessman;
	}

	public Point getStart() {
		return start;
	}

	public void setStart(Point start) {
		this.start = start;
	}

	public Point getEnd() {
		return end;
	}

	public void setEnd(Point end) {
		this.end = end;
	}

	public ChineseChessman getKilled() {
		return killed;
	}

	public void setKilled(ChineseChessman killed) {
		this.killed = killed;
	}
	
}
